package com.vains.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = ServerProperties.PREFIX)
public class ServerProperties {

    static final String PREFIX = "server";

    /**
     * 端口
     */
    private Integer port;

}
